﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="A5E4-p1.aspx.cs" Inherits="Exercicios.A5E4_p1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table>
            <tr>
                <td>
                    <asp:Label ID="lblNome" runat="server" Text="Nome:"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtNome" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="reqNome" runat="server" ControlToValidate="txtNome"
                        Display="Dynamic" ErrorMessage="(*)"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblTelefone" runat="server" Text="Telefone:"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtTelefone" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="reqTelefone" runat="server" ControlToValidate="txtTelefone"
                        Display="Dynamic" ErrorMessage="(*)"></asp:RequiredFieldValidator>
                </td>
            </tr>

            <tr>
                <td>
                    <asp:Label ID="lblEndereco" runat="server" Text="Nome:"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtEndereco" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="reqEndereco" runat="server" ControlToValidate="txtEndereco"
                        Display="Dynamic" ErrorMessage="(*)"></asp:RequiredFieldValidator>
                </td>
            </tr>

        </table>
    </div>
    <asp:Button ID="btEnviar" runat="server" Text="Enviar" 
        onclick="btEnviar_Click" />
    </form>
</body>
</html>
